<style>
.content-none {
	text-align: left;
}
#restore-member {
	margin-left: 40px;
}
</style>
<?php $this->pageTitle=Yii::app()->name . ' - '.UserModule::t("Restore");
$this->breadcrumbs=array(
	UserModule::t("Login") => array('/user/login'),
	UserModule::t("Restore"),
);
?>
<div id = "restore-member">
	<h1><a class = "title-page"><?php echo UserModule::t("Restore"); ?></a></h1>
	<br/>
	
	<?php if(Yii::app()->user->hasFlash('recoveryMessage')): ?>
		<div class="success"><?php echo Yii::app()->user->getFlash('recoveryMessage'); ?></div>
	<?php else: ?>	
		<div class="form">
			<?php echo CHtml::beginForm(); ?>	
			<?php echo CHtml::errorSummary($form); ?>		
			<div class="row">
				<?php echo CHtml::activeTextField($form,'login_or_email', array('class' => 'longtext')) ?>
				<p class="hint"><?php echo UserModule::t("Please enter your login or email addres."); ?></p>
			</div>
			<br/>
			<div class="row submit">
				<?php echo CHtml::submitButton('Khôi phục', array('class' => 'controls btn')); ?></div>
			</div>	
			<?php echo CHtml::endForm(); ?>
		</div><!-- form -->
	<?php endif; ?>
</div>